<template>
  <div class="nav">
      <ul>
          <router-link to="/show" active-class="active" tag="li">
            <span class="iconfont icon-shouye"></span>
            <span class="font">首页</span>
          </router-link>
          <router-link to="/postage" active-class="active" tag="li">
            <span class="iconfont icon-99yuanbaoyou"></span>
            <span class="font">9.9包邮</span>
          </router-link>
          <router-link to="/clissify" active-class="active" tag="li">
            <span class="iconfont icon-fenlei1"></span>
            <span class="font">分类</span>
          </router-link>
          <router-link to="/collect" active-class="active" tag="li">
            <span class="iconfont icon-shoucang1"></span>
            <span class="font">收藏</span>
          </router-link>
          <router-link to="/my" active-class="active" tag="li">
            <span class="iconfont icon-wode"></span>
            <span class="font">我的</span>
          </router-link>
      </ul>
  </div>
</template>

<script>
import "@/assets/icon/iconfont.css";
import "@/assets/css/reset.css";
export default {

}
</script>

<style lang="scss" scoped>
.nav{
    position: fixed;
    bottom: 0;
    left: 0;
    border-top: 1px solid #ccc;
    height: 50px;
    text-align: center;
    background: #fff;
    // color: #7a7e83;
    font-size: 13px;
    width: 100%;
    z-index: 1000;
}
.nav ul{
    width: 100%;
    display: flex;
    flex-direction: row;
    align-items: center;
}
.nav ul li{
    display: flex;
    text-align: center;
    flex-direction: column;
    justify-content: center;
    flex: 1;
    align-self: center;
}
li span.iconfont{
    display: inline-block;
    width: 24px;
    height: 24px;
    padding-left: 25px;
}
li span.font{
    display: inline-block;
}
.nav ul .active{
    color: #fe5100;
}
</style>